package com.example.model23.test3;



// 具体工厂类
public class CarFactory implements VehicleFactory {
    @Override
    public Vehicle create() {
        return new Car();
    }
}








